package com.yx1996.web.action;

import com.opensymphony.xwork2.ActionSupport;
import com.yx1996.domain.User;
import com.yx1996.service.impl.UserServiceImpl;


public class UserAction extends ActionSupport {

    private UserServiceImpl userService;

    @Override
    public String execute() throws Exception {

//        userService.getUserByCode(new User());
        System.out.println(userService);
        return SUCCESS;
    }

    public void setUserService(UserServiceImpl userService) {
        this.userService = userService;
    }
}
